﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Wheels.Client>" %>
<html>
	<head>
		<title>Map</title>
<% Html.RenderPartial("Style"); %>
	</head>
	<body>
<% Html.RenderPartial("Q"); %>
<% Html.RenderPartial("Transit"); %>
	
<script type="text/javascript">

q.ready(function()
{
		

	var manager = new Transit.Location.Manager();
	var map = new Transit.Map.Control(q.find("eidMap"));
	manager.location(function(lat, long) {
		map.getUrl(lat, long,  function(url) {
			map.setUrl(url);
		});
	});
	
	
	
});

</script>
		<div id="eidMap" class="map"></div>
	</body>
</html>
